package com.liwen.service.api;

import com.liwen.api.enums.Ins;
import com.liwen.api.rpc.OrderApi;
import com.liwen.api.vo.OrderVO;
import com.liwen.service.BaseService;
import org.springframework.stereotype.Service;

@Service
public class OrderApiImpl extends BaseService implements OrderApi {
    @Override
    public OrderVO findOrderInfo(Integer insId, String sn) {
        Ins ins = Ins.get(insId);
        OrderVO order = handler(ins).getOrderInfo(sn);
        return order;
    }
}
